package com.photography.service;

import com.photography.entity.PageResult;
import com.photography.pojo.Order;
import com.photography.pojo.OrderVo;

import java.util.List;

public interface OrderService {
    void addOrder(OrderVo orderVo);

    Order findById(String id);

    void addSerialByIds(String[] ids);

    void updateOrder(OrderVo orderVO);

    PageResult<Order> findAll(Order order, Integer page, Integer size);

    OrderVo getById(String id);

    void deleteOrder(String id);

    void updateOrderByState(Order order);
}
